package com.avic.cplustest;

/**
 * Creater: Created by wangyz on 31/8/2017.
 * Email: 936804097@qq.com
 */

public class Animal {

    protected String name;

    public Animal(String name) {
        this.name = name;
        System.out.println("Animal Construct call...");
    }

    public String getName() {
        return name;
    }

    public void run() {
        System.out.println("Animal.run...");
    }
}
